import 'package:flutter/material.dart';

class ButtonDemoPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyContentPage(),
    );
  }
}

class MyContentPage extends StatelessWidget {
  const MyContentPage({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text("ButtonDemoPage"),
      ),
      body: Center(
        // Center is a layout widget. It takes a single child and positions it
        // in the middle of the parent.
        child: Column(
          children: <Widget>[
            // PPNormalButton(
            //   text: 'PPNormalButton',
            //   // borderRadius: BorderRadius.circular(6),
            //   onTap: () {
            //     print("点击了按钮");
            //   },
            //   margin: EdgeInsets.all(10),
            // ),
            // PPBigPrimaryButton(
            //   text: 'PPBigPrimaryButton',
            //   borderRadius: BorderRadius.circular(24),
            //   onTap: () {
            //     print("点击了按钮");
            //   },
            //   margin: EdgeInsets.all(10),
            // ),
          ],
        ),
      ),
    );
  }
}
